<?php
	$UcId = $_REQUEST['UcId'];
	$Res = $mysql -> prepare('SELECT * FROM `'.RC_DBTABLEPRE.'classes` WHERE upteacher=?');
	$Res -> execute(array($UcId));
	$ClassList = $Res -> fetchAll();
	$Res -> closecursor();
	echo serialize($ClassList);
?>